package com.cmc.cloud.cmclink.doc.vo.portspecialrequestvo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 接货地或目的地单证特殊要求配置分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 接货地或目的地单证特殊要求配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class PortSpecialRequestPageReqVO extends PageParam {

    @Schema(description = "港口类型", example = "1")
    private String portType;

    @Schema(description = "港口代码")
    private String portCode;

    @Schema(description = "要求代码")
    private String requestCode;

    @Schema(description = "要求英文描述")
    private String requestDescEn;

    @Schema(description = "要求中文描述")
    private String requestDescCn;

    @Schema(description = "排序号")
    private Long sortNo;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "是否必填")
    private Boolean isRequested;

    @Schema(description = "是否打印在提单上")
    private Boolean isPrintOnBl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
